package com.example.planschedulingsystem.repository;

import com.example.planschedulingsystem.entity.Plane;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlaneRepository extends CrudRepository<Plane, Long> {
    List<Plane> findByName(String name);

    Long deletePlaneByID(Long ID);
}
